<?php

namespace Fang\CouponBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
* @ORM\Entity
* @ORM\Table(name="users")
**/
class User
{
  /**
  *@ORM\Column(type="integer")
  *@ORM\Id
  *@ORM\GeneratedValue(strategy="AUTO")
  **/
  private $id;
  /**
  *@ORM\Column(type="string", unique=true, length=255)
  **/
  protected $username;
  /**
  *@ORM\Column(type="string", length=255)
  **/
  protected $password;
  /**
  *@ORM\Column(type="boolean")
  **/
  protected $active;
  /**
  *@ORM\Column(type="integer")
  **/
  protected $created;
  /**
  *@ORM\Column(type="integer")
  **/
  protected $changed;

  public function getUsername()
  {
  	return $this->username;
  }

  public function setUsername($username)
  {
  	$this->username = $username;
  }

  public function getPassword()
  {
  	return $this->password;
  }

  public function setPassword($password)
  {
  	$this->password = $password;
  }

  public function getActive()
  {
  	return $this->active;
  }

  public function setActive($active)
  {
  	$this->active = $active;
  }
  
  public function getCreated()
  {
  	return $this->created;
  }
  
  public function setCreated($created)
  {
  	$this->created = $created;
  }
  
  public function getChanged()
  {
  	return $this->changed;
  }
  
  public function setChanged($changed)
  {
  	$this->changed = $changed;
  }
}